<f:layout name="Default" />
<f:section name="main">
<f:flashMessages />
<table class="table">
	<tr>
		<td class="bindRegister">
			<h4>注册新帐号</h4>
			<p>如果您已有 {settings.siteName} 账号，请在右侧登录并绑定账号</p>
			<f:form id="quick_register_validate" action="bindRegister" name="bind" arguments="{from:from}"> 
				<f:form.hidden property="openid" value="{openid}" />
				<f:form.hidden property="access_token" value="{access_token}"/>
				<f:render partial="Register/FormFields" arguments="{_all}"/>
				<div class="form-group">
					<labe control-label"></label>
					<div class="checkbox">
						<label>
				         <input name="ckselcet" type="checkbox"> 我已阅读并接受《{settings.siteName}用户协议》
						</label>
					</div>
				</div>
				<f:form.submit class="btn btn-default"  value="注册并登录" />
			</f:form>
		</td>
		<td class="bindLogin" >
			<h4>绑定到已有账号</h4>
			<p>还未获得 {settings.siteName} 账号，请在左侧注册账号</p>
			<f:form id="quick_login_validate" action="bindLogin" name="bind" arguments="{from:from}"> 
				<f:form.hidden property="openid" value="{openid}" />
				<f:form.hidden property="access_token" value="{access_token}"/>
				<f:render partial="Login/FormFields" arguments="{_all}"/>
				<f:form.submit class="btn btn-default alogin"  value="现在登录" />
			</f:form>
		</td>
	</tr>
</table>
</f:section>